/*
 * PathReader.h
 *
 *  Created on: 2009/02/05
 *      Author: Yongshik Cho
 */

#ifndef PATHREADER_H_
#define PATHREADER_H_

#include "../core/Prerequisites.h"
#include "../Path.h"
#include <tinyxml.h>


class PathReader
{
public:
	static const std::string _NAME_TAG;
	static const std::string _TYPE_TAG;
	static const std::string _NODE_TAG;
	static const std::string _CLOSED_TAG;
	static const std::string _POSITION_TAG;
	static const std::string _ROTATION_TAG;
	static const std::string _SCALE_TAG;
	static const std::string _WEIGHT_TAG;
	static const std::string _LINEAR_TAG;
	static const std::string _BEZIER_TAG;
	static const std::string _TRUE_TAG;
	static const std::string _FALSE_TAG;
	static const std::string _ANGLE_TAG;
	static const std::string _X_TAG;
	static const std::string _Y_TAG;

public:
	static Path* parse(TiXmlElement* element);
};

#endif /* PATHREADER_H_ */
